package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.Category;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface CategoryService extends IService<Category> {

    List<Category> selectTree(Long pid);

    void exportData(HttpServletResponse response) throws UnsupportedEncodingException;

    void importData(MultipartFile file);
}
